package com.flw.eslab.dto;

import java.io.Serializable;
import java.util.List;



public final class PageInfo_Dto implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3292538375228492278L;
	private Integer totalPage;
	
	private Integer pagesize = 10;

	private Integer pageNow = 1;

	private List data;

	public PageInfo_Dto(Integer totalPage, Integer pagesize, Integer pageNow,
			List data) {
		super();
		this.totalPage = totalPage;
		this.pagesize = pagesize;
		this.pageNow = pageNow;
		this.data = data;
	}

	public PageInfo_Dto() {
		super();
		this.pagesize = 10;
		this.pageNow = 1;
	}

	public PageInfo_Dto(Integer pagesize, Integer pageNow) {
		super();
		this.pagesize = pagesize;
		this.pageNow = pageNow;
	}

	/*-------------------------------------------*/
	public Integer getTotalPage() {
		return totalPage;
	}

	
	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}

	public Integer getPagesize() {
		return pagesize;
	}

	public void setPagesize(Integer pagesize) {
		this.pagesize = pagesize;
	}

	public Integer getPageNow() {
		return pageNow;
	}

	public void setPageNow(Integer pageNow) {
		this.pageNow = pageNow;
	}

	public List getData() {
		return data;
	}

	public void setData(List data) {
		this.data = data;
	}

}
